package com.test.ssm.dao;

import com.test.ssm.pojo.HostIp;
import org.apache.ibatis.annotations.Param;

public interface HostDAO {
    HostIp getHostById(Integer id);

    void updateHost(HostIp hostIp);

    Integer getHostId(@Param(value = "host") String host, @Param(value = "port") Integer port);
}
